<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="hmg.common.ValueHolder"%>
<%@ page import="hmg.common.CommonUtils"%>
<%@ page import="hmg.vo.BoardVO"%>
<%@ page import="java.util.List"%>
<%-- 
    JSP Name : jspName.jsp
    Description : 설명을 기술합니다.
    author Kim hyung soo
    since 2012. 10. 12.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 10. 12.     Kim hyung soo     최초 생성
--%>
<%
    BoardVO broadcastInfo = (BoardVO) request.getAttribute("BroadcastInfo");
    String title = "";
    
    if (broadcastInfo != null) {
        if (broadcastInfo.getListName() != null && broadcastInfo.getListName().length() > 0)
            title = "[ " + broadcastInfo.getListName() + " ] " + broadcastInfo.getTitle();
        else
            title = broadcastInfo.getTitle();
    }
%>
<script type="text/javascript" src="/hmg/js/web/kor/com/googleAnalytics.js"></script>
<script type="text/javascript">
$(document).ready(function(){
    $(".txt_view").click(function(){
        $(".vodText").toggle();
        resizeFrame();
    });
    $(".vodTextClose").click(function(){
        $(".vodText").hide();
    });
});
</script>
                                <p class="title"><a href="./GroupBroadcastView.do?listID=<%= broadcastInfo.getListID() %>&listType=0&page=1"><%= title %></a></p>
                                <div class="infoWrap">
                                    <div class="left">
                                        <p>
                                            <a href="javascript:fn_share_facebook('<%= ValueHolder.SERVER_DOMAIN %>/hmg/web/kor/gbc/GroupBroadcastView.do?listID=<%= broadcastInfo.getListID() %>&listType=0&page=1', '<%= broadcastInfo.getTitle() %>');"><img src="/hmg/images/web/kor/common/icon_facebook05.gif" alt="facebook" /></a>
                                            <a href="javascript:fn_share_twitter('<%= ValueHolder.SERVER_DOMAIN %>/hmg/web/kor/gbc/GroupBroadcastView.do?listID=<%= broadcastInfo.getListID() %>&listType=0&page=1', '<%= broadcastInfo.getTitle() %>');"><img src="/hmg/images/web/kor/common/icon_twitter04.gif" alt="twitter" /></a>
                                            <a href="#" class="txt_view"><img src="/hmg/images/web/kor/gbc/btn_textView.png" alt="방송텍스트 보기" /></a>
                                        </p>
                                    </div>

                                    <div class="right">
                                        <p>방송일 <span><%= broadcastInfo.getEffectDate() %></span></p>            
                                    </div>
                                </div>

                                <div id="vodText" class="vodText" style="display:block;">
                                    <div class="vodTextTop"></div>

                                    <div class="scroll-pane h100" style="width:363; height:150px !important;">
                                        <div class="vodTextMiddle">
                                            <p>
                                                <%= broadcastInfo.getWebContent() %>
                                            </p>
                                        </div>
                                    </div>
                                    <p class="vodTextClose"><a href="#"><img src="/hmg/images/web/kor/gbc/view_Text_close.png" alt="닫기" /></a></p>
                                </div>